import Vue from 'vue'
import Router from 'vue-router'
import Main from '@/views/Main'
import Users from '@/views/user/Users.vue'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Main',
      component: Main,
      children: [
        {
          path: '/user',
          name: 'Users',
          component:Users
        }
      ]
    }
  ]
})
